<%@ include file="/common/taglibs.jsp" %>

<div class="top clearfix">
	<ul class="tab" id="detail">
		<li class="curr">
			<a href="#tab-summary"><span><fmt:message key="giftCategoryDetail.tab.summary" /> </span> </a>
		</li>
	</ul>
</div>
<div class="modify">
	<form id="giftCategoryForm" name="giftCategoryForm" action="${ctxPath}/catalog/giftCategory.html">
	    <%@ include file="./include/giftCategoryFormSummary.jspf" %>
	</form>
</div>

<div style="display:none">
	<probiz:plugin_upload fileInputId="imageUrl" uploadFileTypes="gif,jpg" uploadCategory="category" onComplete="uploadCategoryImagehandler"/>
</div>

<probiz:ui_tabs tabsId="detail" />
<v:javascript formName="giftCategory" staticJavascript="false"/>
<script type="text/javascript">
$j(document).ready(function () {
	displayButtons("${category.categoryId}");
	
	//start:quickTip 生成 原因：在tag中$j无法扑捉到对象
	$j('[quickTip]').each(function(){
      $j(this).after('<img id="'+this.id+'_tip" width="14" height="14" src="'+__ctxPath+'/images/validate/info.gif"/>');
		$j('#'+this.id+'_tip').PQuickTip({
	         source:'text',
	         title:'Help',
	         type:'help',
	         text:$j(this).attr("quickTip")
      	});
	
	});
	//end:quickTip 生成
});
</script>